# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-util
pkgver=1.3.2
pkgrel=0
pkgdesc="X.org font utilities"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
depends="perl"
depends_dev="font-util"
makedepends="$depends_dev util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/font/font-util-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}
sha512sums="7cac529b12ae71185b89c72c1569b9826f52eeaecc1c76010338e7c42c4078ae339f18220b580bbd68fb5dc09df6ecf169a47c32e6104d8ee53bd443fa21d167  font-util-1.3.2.tar.bz2"
